home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 42
/
Amiga Format AFCD42 (Issue 126, Aug 1999).iso
/
-serious-
/
comms
/
other
/
ftp4all
/
bin
/
ftpd.conf
< prev
next >
Wrap
Text File
|
1999-05-17
|
3KB
|
93 lines
# This is an example configuration file that allows quick start
#
# In this example, /home/user/ftp is used as the directory under which all
# other files go. The root directory of the FTP server is /home/user/ftp/root
# The files needed for running the server itself are stored under
# /home/user/ftp/server . These files are:
# (1) ftpd - the executable FTP daemon
# (2) ftps - the server invoked by ftpd
# (3) ftpd.conf - this configuration file
# (4) groups - the group definition file (use ./groups for quick start) and
# (5) users - the user definition file (user ./users for quick start)
#
# The server is launched by typing "ftpd" in /home/user/ftp/server
# It installes itself on port 2000, allows 5 anonymous and 10 registered
# users to be logged in at the same time.
# Timeout is 2 minutes for anonymous and 10 minutes for registered users.
# The most important user commands (login/logout, transfer and file
# manipulation) are logged in /home/user/ftp/server/ftpd.log
# The error log file is /home/user/ftp/server/ftpd.err . These two files
# will be created automatically
#
# Lets have a look at the setup options in particular. Modify as required.
# base directory, is root directory of server
basedir /home/ftp/ftproot
# message to display after successful login
welcomemsg
Welcome, %S - I have not seen you since %l !
At the moment, there are %a guest and %u registered users logged in.
You uploaded %P and downloaded %D so far (u/d-ratio is %R).
welcomemsg
# message to show when user logges out
goodbyemsg
Goodbye, %S !
You uploaded %p during this session (%P total).
You downloaded %d during this session (%D total).
Your Upload/Download ratio is %r (%R total).
See you soon ...
goodbyemsg
# file to read more user definitions from
userfile /home/ftp/etc/users
# file to read more user groups from
groupfile /home/ftp/etc/groups
# log user activities
log del get login logout md put rd
# file to log user activities
logfile /home/ftp/log/ftpd.log
# file to store error messages
errlogfile /home/ftp/log/errlog
# maximum number of anonymous users logged in at the same time
maxanon 5
# maximum number of registered users logged in at the same time
maxuser 10
# file to store access permissions in
permissionfile .perm
# file to display when directory is changed
readmefile .readme
# port to accept connections from
port 2000
# name of program, as shown by "ps"
programname ftps
# name of program to serve clients
serverprogram /home/ftp/bin/ftps
# message to be sent to client on connection
startupmsg
FTP4ALL FTP server ready. Local time is %t.
startupmsg
# timeout value for anonymous users
timeoutanon 120
# timeout value for registered users
timeoutuser 600
# umask for the files on the shell
umask 022